package com.itheima.easyexceldemo.controller;

import com.itheima.easyexceldemo.pojo.LoginInfo;
import com.itheima.easyexceldemo.pojo.Result;
import com.itheima.easyexceldemo.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @Author mr.luo
 * @Date 13 4月 2025 12:14
 */
@RestController
public class EmpController {
    @Autowired
    private EmpService empService;
    @Autowired


    /**
     * 员工登录
     */
    @PostMapping("/login")
    public Result login(){
    LoginInfo loginInfo = empService.login();
        return Result.success();
    }
}
